package com.fitness.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.fitness.model.Address;
import com.fitness.model.Camp;
import com.fitness.model.Classification;
import com.fitness.model.Commodity;
import com.fitness.model.Order;
import com.fitness.model.PrivateTeacher;
import com.fitness.model.Class;
import com.fitness.model.TimeFrame;
import com.fitness.model.WxInformation;

public interface PersonMapper {

	List<Class> allTeacher(Class cl);

	List<TimeFrame> allTimeFrame();

	List<Classification> allClass();

	List<PrivateTeacher> privateTeacher();

	List<Camp> allCamp();

	List<Address> allFitness(Address address);

	List<Address> areaClassify();

	Address fitnessDetail(Address address);

	Class classDetail(Class c);

	List<Class> containTimeFrame(TimeFrame t);

	List<Classification> containLable(Classification classification);

	List<Class> areaTime(Address a);

	List<Order> classOrder(Order order);

	List<Classification> classAll(@Param("date")String date);

	List<Order> unpaidOrder(Order order);

	Order orderDetail(Order order);

	List<Order> classWaiting(Order order);

	List<Order> classEnd(Order order);

	List<Order> campOrder(Order order);

	void wxWallet(Order order);

	void wxOrder(Order order);

	List<Commodity> commodityList();

	Commodity commodityDetail(Commodity commodity);

	WxInformation walltBalance(Order order);

	WxInformation vipIsorno(WxInformation wxInformation);

	List<Order> commodityOrder(Order order);

	Order odertGetOpenid(Order order);

	void fitnessUpdate(Address address);

	List<Order> privateOrderList(Order order);

}
